-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update loadable refs to read_group refs #35
Conversation
query = """select rg.read_group_id, rg.pu | ||
from read_group rg inner join sample_target_project_view stpv | ||
on rg.sample_target_id = stpv.sample_target_id and rg.project_id = stpv.project_id | ||
where status = 'Normal' and formal_name = %s and target_name = %s | ||
and project_name = %s and subproject = %s;""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's take the opportunity to format this (i.e. newlines, indentation, etc.). It's already changed enough that the whole block is a diff, so no reason not to fix the lack of formatting of the query.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something like this?
query = """select
rg.read_group_id,
rg.pu
from
read_group rg
inner join sample_target_project_view stpv
on rg.sample_target_id = stpv.sample_target_id and rg.project_id = stpv.project_id
where
status = 'Normal'
and formal_name = %s
and target_name = %s
and project_name = %s
and subproject = %s;"""
No description provided.